﻿<?php
class Block_User_Login extends Myh_View_Helper_Block_Template
{
	protected $_view;
	public function User_login()
	{
		$this->_view = $this->getView();
		$this->setTemplate('/user/login.phtml');
	}
	public function getForm()
	{
		$field = $this->addField('email', 'text',array(
			'label'		=>'',
			'value'		=>'',
			'class'		=>'txtInput',
			'comment'	=>'',
		));
		$field = $this->addField('password', 'password',array(
			'label'		=>'',
			'class'		=>'txtInput',
			'comment'	=>'',
		));
		
		return $field->getFields('row.php');
	}
	public function getButtonLogin()
	{
		$btnRegister = $this->addButton('btnsubmit', 'Đăng nhập');
		return $btnRegister;
	}
	
}